package com.example.nebulaspringboot.mapper;

import com.example.nebulaspringboot.entity.User;

import javax.persistence.criteria.CriteriaBuilder;
import java.util.List;

public interface UserMapper {

    List<User> selectUserList();

    User selectByPrimaryKey(Integer id);

    User selectByUsername(String username);

    int insertSelective(User user);

    int updateByIdSelective(User user);

    void deleteById(Integer id);
}
